package com.whenjun.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author whenjun
 * @since 2024-02-28
 */
@TableName("kq_department_group")
@ApiModel(value = "KqDepartmentGroup对象", description = "")
public class KqDepartmentGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty("部门id")
    private String departmentId;

    @ApiModelProperty("考勤组名称")
    private String name;

    @ApiModelProperty("打卡上班时间，%H:%i:%s")
    private String shangbanTime;

    @ApiModelProperty("打卡下班时间，%H:%i:%s")
    private String xiabanTime;

    @ApiModelProperty("小时数")
    private Integer hour;

    private Boolean state;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("创建用户")
    private String createUser;

    @ApiModelProperty("更新用户")
    private String updateUser;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShangbanTime() {
        return shangbanTime;
    }

    public void setShangbanTime(String shangbanTime) {
        this.shangbanTime = shangbanTime;
    }

    public String getXiabanTime() {
        return xiabanTime;
    }

    public void setXiabanTime(String xiabanTime) {
        this.xiabanTime = xiabanTime;
    }

    public Integer getHour() {
        return hour;
    }

    public void setHour(Integer hour) {
        this.hour = hour;
    }

    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    @Override
    public String toString() {
        return "KqDepartmentGroup{" +
            "id = " + id +
            ", departmentId = " + departmentId +
            ", name = " + name +
            ", shangbanTime = " + shangbanTime +
            ", xiabanTime = " + xiabanTime +
            ", hour = " + hour +
            ", state = " + state +
            ", createTime = " + createTime +
            ", updateTime = " + updateTime +
            ", createUser = " + createUser +
            ", updateUser = " + updateUser +
        "}";
    }
}
